/*    */ package com.zimbra.cs.imap;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class CopyCommand
/*    */   extends ImapCommand
/*    */ {
/*    */   private ImapPath destPath;
/*    */   
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   private String sequenceSet;
/*    */   
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   public CopyCommand(String sequenceSet, ImapPath destPath)
/*    */   {
/* 27 */     this.destPath = destPath;
/* 28 */     this.sequenceSet = sequenceSet;
/*    */   }
/*    */   
/*    */   public int hashCode()
/*    */   {
/* 33 */     int prime = 31;
/* 34 */     int result = 1;
/* 35 */     result = 31 * result + (this.sequenceSet == null ? 0 : this.sequenceSet.hashCode());
/* 36 */     result = 31 * result + (this.destPath == null ? 0 : this.destPath.hashCode());
/* 37 */     return result;
/*    */   }
/*    */   
/*    */   public boolean equals(Object obj)
/*    */   {
/* 42 */     if (this == obj) {
/* 43 */       return true;
/*    */     }
/* 45 */     if (obj == null) {
/* 46 */       return false;
/*    */     }
/* 48 */     if (getClass() != obj.getClass()) {
/* 49 */       return false;
/*    */     }
/* 51 */     CopyCommand other = (CopyCommand)obj;
/* 52 */     if (this.sequenceSet == null) {
/* 53 */       if (other.sequenceSet != null) {
/* 54 */         return false;
/*    */       }
/* 56 */     } else if (!this.sequenceSet.equals(other.sequenceSet)) {
/* 57 */       return false;
/*    */     }
/* 59 */     if (this.destPath == null) {
/* 60 */       if (other.destPath != null) {
/* 61 */         return false;
/*    */       }
/* 63 */     } else if (!this.destPath.equals(other.destPath)) {
/* 64 */       return false;
/*    */     }
/* 66 */     return true;
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/imap/CopyCommand.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */